package com.guanjia.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.guanjia.entity.CreditInformation;
import com.guanjia.entity.CrowdFunding;
import com.guanjia.entity.vo.CrowdUserInfVo;
import org.springframework.stereotype.Component;

import java.util.List;

public interface CrowdFundingService {
    public void insertForm(CrowdFunding crowdFunding);

    public List<CrowdFunding> handList();

    public List<CrowdFunding> newList();

    public CrowdFunding findCrowdById(int id);

    public CrowdUserInfVo findCrowdUser(int userId);

    public String insertDealAndBussiness(String money,String crowdId,Integer userId,Integer crowd_user_id);

    public List<CrowdFunding> findCrowdFundingListById(Integer id);

    IPage<CrowdFunding> showList(Integer page, Integer size, String sort, String pname, Integer max, Integer min);

}
